Automattic\WooCommerce\StoreApi\Routes\V1\Checkout B

Total Complexity 80
Dependencies 11
Dependents 1
Total lines 934
Lines of code 528
Logical lines of code 203
Comment lines 300
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
validate_callback()
B
33 19 97
get_response()
A
46 10 37
get_route_post_response()
A
38 6 83
update_customer_from_request()
A
44 7 46
get_request_payment_method()
S
50 6 28
should_create_customer_account()
S
60 5 15
create_or_update_draft_order()
S
48 3 38
get_args()
S
42 1 65
validate_user_can_place_order()
S
57 4 18
process_customer()
S
52 3 27
get_route_update_response()
S
55 3 21
update_customer_address_field()
S
63 3 10
get_route_error_response()
S
64 2 10
add_data_to_error_object()
S
66 2 8
get_route_error_response_from_object()
S
70 2 6
get_path_regex()
S
81 1 3
get_route_response()
S
65 1 10
requires_nonce()
S
80 1 3
get_path()
S
80 1 3